package com.alibaba.ribbonserver;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YL
 * @date 17:50 2021/10/12
 */
@Slf4j
@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("sayHello")
    public String sayHello(){
        log.info("say hello");
        return "sayHello";
    }
}
